package com.hospital.dao;

import com.hospital.dto.EquPayDto;
import com.hospital.entity.Equpay;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Repository
public interface EqupayDao {
    /**
     *增加仪器开支记录
     */
    int add(Equpay equpay);
    /**
     * 查询所有维修开支记录
     */

    long selectCount();

    List<Equpay>selectPage(@Param("start") int start, @Param("size") int size);
    /**
     * 删除记录
     */
    int deleById(int id);

    int deleids(int[] ids);

    long equPayCount();

    List<EquPayDto> equPay(@Param("start") int start, @Param("size") int size);

    int save(EquPayDto equPayDto);
}
